package org.tom.pet.service;

import org.tom.basic.service.IBaseService;
import org.tom.basic.util.JsonResult;
import org.tom.basic.util.PageList;
import org.tom.pet.domain.Pet;
import org.tom.pet.query.PetQuery;

import java.util.List;

public interface IPetService extends IBaseService<Pet> {

    JsonResult onsale(List<Long> petIds);

    JsonResult offsale(List<Long> petIds);

    PageList<Pet> loadPetAll(PetQuery query);

    JsonResult loadOnPetByPetId(Long id, Long online);

    JsonResult getAddress(Long id);
}
